const api = "/api/";

export const login = (params, config = {}) => uni.$u.http.post(`${api}login/dologin`, params, config);
export const user  = (data) => uni.$u.http.get(`${api}user/user`, data);
export const payMoney = (data) => uni.$u.http.post(`${api}order/pay`, data);
export const getPrice = (data) => uni.$u.http.get(`${api}price/index`, data);
export const getDesignPrice = (data) => uni.$u.http.get(`${api}dzprice/index`, data); // 设计费接口
